ShopEngine\Utils\Helper A

Total Complexity 62
Dependencies 1
Dependents 13
Total lines 447
Lines of code 358
Logical lines of code 124
Comment lines 17
Methods 27
Properties 0

Methods 27

Method Rating Maintainability Complexity Lines of code
_product_tag_sale_badge()
A
49 11 28
kses()
S
37 2 103
_product_image()
S
50 5 34
_discount_percentage()
S
60 6 11
_product_sale_end_date()
S
55 4 18
_product_category()
S
58 4 13
img_meta()
S
58 3 14
add_to_url()
S
64 3 8
_product_rating()
S
60 2 15
generate_products_meta()
S
58 1 16
render()
S
70 2 6
esc_options()
S
71 2 6
_product_buttons()
S
69 2 7
get_total_sale_count()
S
62 2 10
get_elementor_css_uri()
S
68 1 6
make_classname()
S
68 1 7
kspan()
S
77 1 3
category_list_by_taxonomy()
S
64 1 10
trim_words()
S
78 1 3
array_push_assoc()
S
76 1 4
render_elementor_content()
S
75 1 4
_product_title()
S
71 1 7
_product_price()
S
73 1 7
_product_description()
S
66 1 9
is_guest_checkout_allowed()
S
79 1 3
is_login_allowed_during_checkout()
S
79 1 3
get_products_meta_keys()
S
80 1 3